import Vue from 'vue'

new Vue({
  el: '#root',
  template: '<div>{{text}}</div>',
  data: {
    text: '没名字'
  },
  beforeCreate () {
    console.log(this, 'beforeCreate')
  },
  create () {
    console.log(this, 'create')
  },
  beforeMount () {
    console.log(this, 'beforeMount')
  },
  Mounted () {
    console.log(this, 'Mounted')
  },
  beforeUpdate () {
    console.log(this, 'beforeUpdate')
  },
  updated () {
    console.log(this, 'updated')
  },
  beforeDestory () {
    console.log(this, 'beforeDestory')
  },
  destory () {
    console.log(this, 'destory')
  }
})
